<?php
namespace Catalog\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Collection
 *
 * @ORM\Table(name="collection")
 * @ORM\Entity
 */
class Collection
{
    /**
     * @var integer
     *
     * @ORM\Column(name="collection_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="collection_collection_id_seq", allocationSize=1, initialValue=1)
     */
    private $collectionId;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=256, nullable=false)
     */
    private $name;

    /**
     * @var string
     *
     * @ORM\Column(name="image_url", type="string", length=128, nullable=false)
     */
    private $imageUrl;

    /**
     * @var integer
     * 
     * @ORM\Column(name="user_id", type="integer", nullable=false)
     */
    private $userId;

    /**
     * @var boolean
     *
     * @ORM\Column(name="is_advertised", type="boolean", nullable=false)
     */
    private $isAdvertised;
    
    /**
     * @var integer
     *
     * @ORM\Column(name="advertising_priority", type="integer", nullable=true)
     */
    private $advertisingPriority;
    
    /**
     * 
     * @return number
     */
    public function getId() {
        return $this->collectionId;
    }

    /**
     *
     * @return string
     */
    public function getName() {
    	return $this->name;
    }
    
    /**
     *
     * @return string
     */
    public function getImageUrl() {
    	return $this->imageUrl;
    }
    
    /**
     *
     * @return boolean
     */
    public function getIsAdvertised()
    {
    	return $this->isAdvertised;
    }
    
    /**
     *
     * @return advertisingPriority
     */
    public function getAdvertisingPriority()
    {
    	return $this->advertisingPriority;
    }
    
}
